package com.kaizige.realtor.Pojo;

import lombok.Data;

@Data
public class houseMsg {
	private int id;
	private String ownerName;
	private String address;
	private int houseType;
	private int perNum;
	private float rent;
	private int houseStatus;
	
	private static int initID = 31;
	
	public houseMsg(String on,String ad,int ht,int pn,float rt,int hs){
		ownerName = on;
		address = ad;
		houseStatus = hs;
		houseType = ht;
		perNum = pn;
		rent = rt;
		id = initID++;
	}
}
